﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SkillifyMaster.master" AutoEventWireup="true" CodeFile="ViewTestRank.aspx.cs" Inherits="Student_ViewRankaspx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
        .style1
        {
           width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="style1">
        <tr>
            <td align="right">
                <h2> <asp:Label ID="lablRank" runat="server" Text="Test Rank"></asp:Label></h2>
            </td>
        </tr>
        <tr>
            <td align="left" valign="top">
                <asp:GridView ID="gvRank" runat="server" AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" 
                                BorderColor="Tan" BorderWidth="1px" 
            CellPadding="2" ForeColor="Black" GridLines="Vertical" Width="930px">
            <AlternatingRowStyle BackColor="PaleGoldenrod" />
                    <Columns>
                            <asp:BoundField DataField="TestId" HeaderText="Id" SortExpression="TestId" />
                            <asp:BoundField DataField="TestName" HeaderText="TestName" 
                                SortExpression="TestName" />
                            <asp:BoundField DataField="Score" HeaderText="Score" 
                                SortExpression="Score" />
                            <asp:BoundField DataField="UserName" HeaderText="UserName" 
                                SortExpression="UserName" >
                            </asp:BoundField>
                            <asp:BoundField DataField="AttemptNo" HeaderText="AttemptNo" 
                                SortExpression="AttemptNo" />
                            <asp:BoundField DataField="TimeTaken" HeaderText="TimeTaken" 
                                SortExpression="TimeTaken" />
                     </Columns>
                        <EditRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            <EmptyDataRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
         <FooterStyle BackColor="Tan" />
            <HeaderStyle BackColor="#CB6811" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
            <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
                HorizontalAlign="Center" />
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            <SelectedRowStyle BackColor="#E49642" ForeColor="GhostWhite" />
            <SortedAscendingCellStyle BackColor="#FAFAE7" />
            <SortedAscendingHeaderStyle BackColor="#DAC09E" />
            <SortedDescendingCellStyle BackColor="#E1DB9C" />
            <SortedDescendingHeaderStyle BackColor="#C2A47B" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>

